package persistence

type Persistence interface {
	InsertArbitragePosition(symbol string, spotCount, futureCount float64, spotPrice, futurePrice float64)
	QueryArbitragePosition(symbol string) (position ArbitragePosition, err error)
	QueryAllArbitragePosition() (positions []ArbitragePosition, err error)
	DeleteArbitragePosition(symbol string) error
	QueryAllSymbolExchangeInfo() (exchangeInfoMap map[string]SymbolExchangeInfo, err error)
}
